cmake_minimum_required(VERSION 3.10.0)
project(OffScreen VERSION 0.1.0 LANGUAGES C CXX)
# 在 CMakeLists.txt 开头添加（不推荐）
set(CMAKE_C_COMPILER "cl.exe")
set(CMAKE_CXX_COMPILER "cl.exe")
include_directories(include)
include_directories(.)
link_directories(lib)
set(RUNTIME_OUTPUT_DIRECTORY  ${CMAKE_PROJECT_SOURCE_DIR}/bin)

link_libraries(
    glfw3.lib
    opengl32.lib
    gdi32.lib
    user32.lib
    kernel32.lib
    glew32.lib
)
add_executable(OffScreen main.cpp nanovg.c nanovg.h nanovg_gl.h nanovg_gl_utils.h stb_image.h stb_truetype.h)

